package com.kkb.shopcenter.api;


import com.github.pagehelper.PageInfo;
import com.kkb.shopcenter.common.pojo.RoleInfo;

import java.util.List;

public interface RoleInfoService {

        List<RoleInfo> selectRolesByUserId(Long userId);

        PageInfo<RoleInfo> getRoleList(byte type, Integer pageNo, Integer pageSize);

}
